package com.easy.cloud.web.module.certification.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * CompanyAuthentication请求数据
 *
 * @author Fast Java
 * @date 2024-02-18 11:58:57
 */
@Data
@Builder
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "CompanyAuthenticationDTO", description = "企业认证信息")
public class CompanyAuthenticationDTO {
    /**
     * 文档ID
     */
    @ApiModelProperty(value = "文档ID", required = false)
    private String id;
    /**
     * 公司名称
     */
    @ApiModelProperty(value = "公司名称", required = true)
    @NotBlank(message = "企业名称不能为空")
    private String companyName;
    /**
     * 统一社会信用代码：Unified Social Credit Identifier
     */
    @ApiModelProperty(value = "统一社会信用代码", required = true)
    @NotBlank(message = "企业统一社会信用代码不能为空")
    private String usci;
    /**
     * 公司许可证文件地址
     */
    @ApiModelProperty(value = "公司许可证文件地址", required = true)
    @NotBlank(message = "公司许可证文件地址不能为空")
    private String companyLicense;
    /**
     * 法人
     */
    @ApiModelProperty(value = "法人", required = true)
    @NotBlank(message = "法人不能为空")
    private String legalPerson;
    /**
     * 法人身份证
     */
    @ApiModelProperty(value = "法人身份证", required = true)
    @NotBlank(message = "法人身份证不能为空")
    private String legalPersonIdentityCard;
    /**
     * 联系电话
     */
    @ApiModelProperty(value = "联系电话", required = true)
    @NotBlank(message = "联系电话不能为空")
    private String tel;
    /**
     * 联系邮件
     */
    @ApiModelProperty(value = "联系邮件", required = false)
    private String email;
    /**
     * 省份
     */
    @ApiModelProperty(value = "省份", required = true)
    @NotBlank(message = "省份不能为空")
    private String province;
    /**
     * 城市
     */
    @ApiModelProperty(value = "城市", required = true)
    @NotBlank(message = "城市不能为空")
    private String city;
    /**
     * 地区
     */
    @ApiModelProperty(value = "地区", required = false)
    private String district;
    /**
     * 街道
     */
    @ApiModelProperty(value = "街道", required = false)
    private String street;
    /**
     * 地址
     */
    @ApiModelProperty(value = "地址", required = true)
    @NotBlank(message = "地址不能为空")
    private String address;
}